package com.taxshare.seller.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.seller.constant.table.TableConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.EqualsAndHashCode;

/**
 * @author YANG
 * @ClassName: RemainderInvoiceEntity
 * @Description:
 * @date 2021-08-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_SELLER_REMAINDER_INVOICE)
public class RemainderInvoiceEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("uuid")
    @ApiModelProperty("主键")
    private String uuid;

    @TableField("seller_name")
    @ApiModelProperty("销方名称")
    private String sellerName;

    @TableField("seller_tax_no")
    @ApiModelProperty("销方税号")
    private String sellerTaxNo;

    @TableField("fjh")
    @ApiModelProperty("分机号")
    private String fjh;

    @TableField("terminal_no")
    @ApiModelProperty("终端号")
    private String terminalNo;

    @TableField("invoice_type_no")
    @ApiModelProperty("发票种类代码")
    private String invoiceTypeNo;

    @TableField("invoice_code")
    @ApiModelProperty("发票代码")
    private String invoiceCode;

    @TableField("invoice_sheet")
    @ApiModelProperty("剩余份数")
    private String invoiceSheet;

    @TableField("invoice_total")
    @ApiModelProperty("发票张数")
    private String invoiceTotal;

    @TableField("invoice_no_start")
    @ApiModelProperty("发票起号")
    private String invoiceNoStart;

    @TableField("invoice_no_end")
    @ApiModelProperty("发票止号")
    private String invoiceNoEnd;

    @TableField("warn_number")
    @ApiModelProperty("预警值")
    private Long warnNumber;

    @TableField("pick_date")
    @ApiModelProperty("领购日期")
    private String pickDate;

    @TableField("pan_no")
    @ApiModelProperty("盘号")
    private String panNo;

    @TableField("buy_invoice_state")
    @ApiModelProperty("购票状态 0未分发 1分发中 2 已回写确认")
    private String buyInvoiceState;


}